Repository navigation
feat(studio): the Studio app reads 应用搭建 in Chinese and App Studio in English - #37581
objectstack-fleet[bot] wants to merge 6 commits into
Conversation
…English Display text only: the app label, its locale-pack translations and recorded source hashes, and the console.studio.title crumb in every UI pack. The /studio address, the app name and every identifier stay. Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4 Co-authored-by: Claude <noreply@anthropic.com>
…dio / 应用搭建 Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4 Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check11 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 3 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 760ca9fc1520c6c5e85729fbb848f745a597816c && git checkout 760ca9fc1520c6c5e85729fbb848f745a597816c
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 6c290d3af7c52d019d1de1c09b6b0306f09700bb 3e7d903bf3353b1e2ba056df9e28199ffd18976f && git checkout -B drift-repro 6c290d3af7c52d019d1de1c09b6b0306f09700bb && git merge --no-ff 3e7d903bf3353b1e2ba056df9e28199ffd18976f
node scripts/docs-audit/affected-docs.mjs --json 6c290d3af7c52d019d1de1c09b6b0306f09700bb |
Claude-Session: https://claude.ai/code/session_01Utp6CbL6Nn3scsU8yvLyU4 Co-authored-by: Claude <noreply@anthropic.com>
Fixes #37566
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Display text only (ADR-0084, the 2026-11-26 position amendment). Identifiers, the
/studioaddress, permission names (studio.access) and package and API names are untouched;skills/**andstudio-design/**components are untouched.STUDIO_APP.labelisApp Studio. Inpackages/platform-objectstranslations,zh-CNreads 应用搭建 andzh-Hantreads 應用搭建. The other eight packs (ar,de,es-ES,fr,ja-JP,ko,pt-BR,ru) used the Latin product name and now readApp Studio. Each pack's recorded source hash forapps.studio.labelis re-recorded for the new source, because all ten were re-translated in this change. Without that,withSourceFallbackwould serve the English source in the Chinese UI.engine.studio.markin the Studio namespace (enApp Studio, zh 应用搭建). This is the key thatStudioBackToAppalready reads, so no new key was needed. The App Studio 改版(1-5):去掉 Studio 顶栏改左右两栏——左上角两行(标志加折叠;返回加软件包切换器和「新建软件包」)、只读小锁、折叠窄栏 #37456 brand should reuseengine.studio.mark.console.studio.title(the AppHeaderstudiocrumb) — renamed in all eleven UI packs.topbar.viewInStudio/designInStudio/openAppInStudioandlayout.appSwitcher.editAppInStudio/openAppInStudio, renamed in all eleven UI packs. Chinese packs read 在应用搭建中…; the others swapStudioforApp Studioinside the existing sentence.Tests
packages/platform-objects/src/apps/translations/studio-display-name.test.ts. It keepsSTUDIO_APP.name === 'studio'and checks the served label (afterwithSourceFallback) in all eleven locales.zh-CNdigest turns it red (Expected "应用搭建", Received "App Studio"). This is evidence that the hash re-record is load-bearing.ui/packages/i18n/src/__tests__/residue-namespaces-3546.test.tsx(topbar.designInStudio);ui/packages/app-shell/src/layout/__tests__/SidebarAppMenu-36112.test.tsx(zhtopbar.viewInStudio);console.studio.titlereason inuntranslated-identity-4376.test.ts.Acceptance notes
@objectstack/studiois not default-loaded (RUNNER notes,dev-plugin.ts). The switcher names Studio only through its door, which now reads 「在应用搭建中查看」 / "View in App Studio".STUDIO_APP.labelreaches the UI only where the Studio app is installed.ObjectOS, measured). It does not name the app, so there is nothing to rename there.common.editInStudio,console.studio.accessRequiredand the Studio-namespace refusal sentences.defaultValue: 'View in Studio'literal inSidebarAppMenu.tsx. It is a fallback that is used only when the key is missing, and it sits outside this card's file surface.packages/apps/studiomanifestname: 'Studio', which is a package name.label: 'Studio'example incontent/docs/ui/apps.mdx.App Studio), as they did before.Verification
Read first (risk order):
packages/platform-objects/src/apps/translations/zh-CN.source-hashes.ts. Theapps.studio.labeldigest is the hunk that decides what the Chinese UI is served. The same digest is used in all ten tables.ui/packages/i18n/src/namespaces/studio/zh.ts,engine.studio.mark. This is the brand the top-left reads.ui/packages/i18n/src/locales/de.tsandja.ts, the door sentences. These are the two packs whose word order differs from English.Two-minute check: open
/_console/studio/PACKAGE_IDin a Chinese UI. The top-left reads 「‹ 返回应用 · PACKAGE · 应用搭建」, and the app menu in any app reads 「在应用搭建中查看」 or 「编辑应用」. Screenshots (Chromium, deviceScaleFactor 2, showcase) are in the seat'stopic-37424/cards/shots-37566/folder.Generated by Claude Code